#===============================================================================
# @brief    cmake file
# Copyright (c) CompanyNameMagicTag 2023-2023. All rights reserved.
#===============================================================================

set(SOURCES_LIST
    ${CMAKE_CURRENT_SOURCE_DIR}/Control_Node.c

    ${CMAKE_CURRENT_SOURCE_DIR}/sle_server/sle_server.c
    ${CMAKE_CURRENT_SOURCE_DIR}/sle_server/sle_server_adv.c


    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/LED/bsp_led.c
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/LED/bsp_uart.c
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/LED/bsp_ldr.c
    
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/MOTOR/bsp_motor.c
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/MOTOR/PID.c
    
)
set(HEADER_LIST 
    ${CMAKE_CURRENT_SOURCE_DIR}/.

    ${CMAKE_CURRENT_SOURCE_DIR}/sle_server

    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/LED
    ${CMAKE_CURRENT_SOURCE_DIR}/bsp_lib/MOTOR
)

set(SOURCES "${SOURCES}" ${SOURCES_LIST} PARENT_SCOPE)
set(PUBLIC_HEADER "${PUBLIC_HEADER}" ${HEADER_LIST} PARENT_SCOPE)